/* components/recording-popup/recording-popup.wxss */
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
}

.popup-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.popup-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vw / 2);
  background-color: #fff;
  border-radius: calc(100vw / 1.7) calc(100vw / 1.7) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;

  .popup-close {
    width: 60rpx;
    height: 60rpx;
    position: absolute;
    left: 40rpx;
    top: -120rpx;
    z-index: 999999999;
    &::hover{
      opacity: .2;
    }
  }
  .cancel-tip{
    position: absolute;
    left: 40rpx;
    top: -180rpx;
    z-index: 999999999;
    font-family: PingFang SC-Medium;
    font-weight: 500;
    font-size: 28rpx;
    color: #FFFFFF;
    line-height: 44rpx;
    letter-spacing: 1px;
  }
  .release-tip {
    position: absolute;
    left: 50%;
    top: -68rpx;
    transform: translate(-50%, 0);
    font-family: PingFang SC-Medium;
    font-weight: 500;
    font-size: 28rpx;
    color: #FFFFFF;
    line-height: 44rpx;
    letter-spacing: 1px;
  }

  /* 容器样式 */
  .wave-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rpx;
    height: 100rpx;
    overflow: hidden;
  }

  /* 柱子样式 */
  .bar {
    width: 10rpx;
    height: 80rpx;
    background: #313131;
    animation: bounce 1s infinite;
    animation-timing-function: ease-in-out;
    border-radius: 5rpx;
  }

  /* 动画效果 */
  .bar:nth-child(1) {
    animation-delay: 0s;
  }

  .bar:nth-child(2) {
    animation-delay: 0.1s;
  }

  .bar:nth-child(3) {
    animation-delay: 0.2s;
  }

  .bar:nth-child(4) {
    animation-delay: 0.3s;
  }

  .bar:nth-child(5) {
    animation-delay: 0.4s;
  }

  @keyframes bounce {

    0%,
    100% {
      height: 20rpx;
    }

    50% {
      height: 60rpx;
    }
  }

}